package com.gc.entity;

import java.math.BigDecimal;

public class TextBook {
    Long id;
    String bookid;
    String name;
    String ISBN;
    String publisher;
    BigDecimal price;

    public TextBook() {
    }

    public TextBook(Long id, String bookid, String name, String ISBN, String publisher, BigDecimal price) {
        this.id = id;
        this.bookid = bookid;
        this.name = name;
        this.ISBN = ISBN;
        this.publisher = publisher;
        this.price = price;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBookid() {
        return bookid;
    }

    public void setBookid(String bookid) {
        this.bookid = bookid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "TextBook{" +
                "id=" + id +
                ", bookid='" + bookid + '\'' +
                ", name='" + name + '\'' +
                ", ISBN='" + ISBN + '\'' +
                ", publisher='" + publisher + '\'' +
                ", price=" + price +
                '}';
    }
}
